<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
      <link href="{$Think.config.Date}/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="{$Think.config.Date}/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
	   <link rel="stylesheet" href="{$Think.config.Style}/css/ch-ui.admin.css">
    <link rel="stylesheet" href="{$Think.config.Style}/font/css/font-awesome.min.css">
    <script type="text/javascript" src="{$Think.config.Style}/js/jquery.min.js"></script>
    <script type="text/javascript" src="{$Think.config.Style}/js/ch-ui.admin.js"></script>
    <script type="text/javascript" src="{$Think.config.Style}/layer/layer.js"></script>
</head>
<body>
    {include file="public/breadcrumb"/}
    <!--搜索结果页面 列表 开始-->
  
        <div class="result_wrap">
            <!--快捷导航 开始-->
            <div class="result_content">
                <div class="short_wrap">
                    <a href="{:url('back/Commit/add')}"><i class="fa fa-plus"></i>新增提现申请</a>
                </div>
            </div>
            <!--快捷导航 结束-->
        </div>


        <div class="result_wrap">
            <div class="result_content">
                <table class="list_tab">
                    <tr>
                        <th class="tc">ID</th>
                        <th class="tc">用户</th>
                        <th class="tc">提现金额</th>
                        <th class="tc">开户行/支付宝</th>
                        <th class="tc">账号</th>
                        <th class="tc">开户人</th>
                        <th class="tc">提交时间</th>
                        <th class="tc">审核时间</th>
                      
                        <th class="tc">状态</th>
     
                        <th class="tc" width="150">操作</th>
                    </tr>
                    
                {volist name="lists" id="lists"}
                    <tr>
                        <td class="tc">{$lists->id}</td>
                        <td class="tc">
                            {$lists->zid}
                        </td>
                       
                        <td class="tc">{$lists->money}</td>
                        <td class="tc">{$lists->bank_name}</td>
                        <td class="tc">{$lists->account}</td>
                        <td class="tc">{$lists->account_name}</td>
                        <td class="tc">{$lists->create_time|date='Y-m-d H:i:s',###}</td>
                        <td class="tc">{$lists->update_time|date='Y-m-d H:i:s',###}</td>
                     
                        <td class="tc">{$lists->status}</td>
                        <td class="tc">
                        <a  href="{:url('back/Commit/edit',['id'=>$lists['id']])}">查看</a>
                       <!--  <a  onclick="delfunc(this)"data-url="{:url('back/Commit/destroy')}"data-id="{$lists->id}">删除</a> -->
                        </td>
                    </tr>
                 
{/volist}
                </table>

<div class="page_nav">
{$pages}
</div>

            </div>
        </div>
   
    <!--搜索结果页面 列表 结束-->
<script type="text/javascript">
  function delfunc(obj){
      layer.confirm('确认删除？', {
          btn: ['确定','取消'] //按钮
        }, function(){
            // 确定
          $.ajax({
            type : 'post',
            url : $(obj).attr('data-url'),
            data : {id:$(obj).attr('data-id')},
            dataType : 'json',
            success : function(data){
              if(data.status==1){
                layer.msg(data.msg, {icon: 6,time: 2000});
                $(obj).parent().parent().remove();
              }else{
                layer.msg('操作失败', {icon: 2,time: 2000});
              }
//              layer.closeAll();
            }
          })
        }, function(index){
          layer.close(index);
          return false;// 取消
        }
      );
    }  


</script>

  <script type="text/javascript" src="{$Think.config.Date}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="{$Think.config.Date}/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="{$Think.config.Date}/js/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
    $('.form_date').datetimepicker({
        language: 'zh-CN',
        weekStart: 1,
        todayBtn: 1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        minView: 2,
        forceParse: 0,
        format:"yyyy-mm-dd h:i:s"

    });
</script>
</body>
</html>